package com.xsomnus.java_basic.bitops;

/**
 * @author 叶小夏
 * @since 2019-08-23 15:42
 */
public class SegmentDefinition {

    private String name;

    private int val;

    private int bitCounts;

    private int seqId;


    public SegmentDefinition(String name, int val, int bitCounts, int seqId) {
        this.name = name;
        this.val = val;
        this.bitCounts = bitCounts;
        this.seqId = seqId;
    }

    public String getName() {
        return name;
    }

    public int getVal() {
        return val;
    }

    public int getBitCounts() {
        return bitCounts;
    }

    public int getSeqId() {
        return seqId;
    }

    @Override
    public String toString() {
        return "SegmentDefinition{" +
                "name='" + name + '\'' +
                ", val=" + val +
                ", bitCounts=" + bitCounts +
                ", seqId=" + seqId +
                '}';
    }
}
